added feature to search by selecting location