fixed device search by pressing enter

instead of listening to search button, listened to form submission