added enter-pressing event to TextInputs