Add "enter" key detection for the textbox