When activating page if there are no results set focus in search element, if not, hide the keyboard