Adding the city detection to the app