added listener to enter key for search