Refactor the search functionality to use SearchView for better handling of search queries. - Removed redundant code and replaced it with SearchView's onQueryTextChange listener. - Improved readability and maintainability of the search logic.