Added search button functionality