@Override
 public boolean onKeyDown(int keyCode, KeyEvent event) {
   if (keyCode == KeyEvent.KEYCODE_BACK) {
     if (!TextUtils.isEmpty(title.getText().toString())
         || !TextUtils.isEmpty(body.getText().toString())) {
       dialog = RCAlertDialogFragment.newInstance(R.string.hint_stoping_editing_topic_or_not);
       dialog.show(getSupportFragmentManager(), "dialog");
       return true;
     }
   }
   return super.onKeyDown(keyCode, event);
 }
 @Override
 public void doNegativeClick() {
   dialog.dismiss();
 }