Fixed bug with using Enter to edit text