If the search button is nonfunctional, hide it