@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   DisplayNoteBaseResultHandler.handleResult(this, requestCode);
 }
 @Override
 public void finish() {
   DisplayNoteBaseResultHandler.setResult(this); // set activity's result before closing
   super.finish();
 }