Hides the keyboard upon search finish