Fixxed bug; resigning the keyboard for empty searchbar text.