Do we not have to define setOnEditorActionListener?