Hide button function added to results page