textinput on_enter method fix