Validating search button in city