TextEditorActivity: terminate button & leave button onClickListener added