Make search bar usable