Correct implementation for search results view show/hide button action