Added KeyListener to the field instead of button.