added functionality: pressing enter on the search field will also execute the search function.