Implemented Event handlers for click the button and pressing "enter" on
the keyboard