Enter button functionality added.