Fixed show/hide search results button
Added conditional rendering