Fixed search button state