added support for return button for input text field