In NoteEditorActivity.java override onOptionsItemSelected() and add method saveAndFinish. Set action bar change launcher icon to options button "home".