@Override
  public boolean onTouchEvent(MotionEvent event) {
    super.onTouchEvent(event);

    if (event.getAction() == MotionEvent.ACTION_UP) {

      if (dialogFrameMyTake.getVisibility() == View.VISIBLE) {
        dialogFrameCommon.setVisibility(View.VISIBLE);
        dialogFrameMyTake.setVisibility(View.GONE);
        uncheckAllRadioButtons();
      } else if (dialogFrameRate.getVisibility() == View.VISIBLE) {
        dialogFrameCommon.setVisibility(View.VISIBLE);
        dialogFrameRate.setVisibility(View.GONE);
        uncheckAllRadioButtons();
      } else if (dialogFrameSendToKindle.getVisibility() == View.VISIBLE) {
        dialogFrameCommon.setVisibility(View.VISIBLE);
        dialogFrameSendToKindle.setVisibility(View.GONE);
        uncheckAllRadioButtons();
      } else if (dialogFrameLend.getVisibility() == View.VISIBLE) {
        dialogFrameCommon.setVisibility(View.VISIBLE);
        dialogFrameLend.setVisibility(View.GONE);
        uncheckAllRadioButtons();
      } else if (this.getVisibility() == View.VISIBLE) {
        dialogFrameCommon.setVisibility(View.GONE);
        this.setVisibility(View.GONE);
      }
    }

    return true;
  }
 public void hideChildDialogs() {
   dialogFrameCommon.setVisibility(View.GONE);
   dialogFrameMyTake.setVisibility(View.GONE);
   dialogFrameRate.setVisibility(View.GONE);
   dialogFrameSendToKindle.setVisibility(View.GONE);
   dialogFrameLend.setVisibility(View.GONE);
 }
 @Click(R.id.book_details_send_to_kindle_radiobutton)
 void onSendToKindleButtonClicked() {
   hideChildDialogs();
   dialogFrameSendToKindle.setVisibility(View.VISIBLE);
 }