Finally fixed the SearchView bug in PhotoGalleryApp