pressing enter now responds to button click