Changed Search top/bottom button functionality