Added enter button functionality