private bool SetLocation(
            LocationInputViewModel locationWindowControl,
            ITheme appliedTheme)
        {
            do
            {
                locationWindowControl.ClearInput();
                DisplayLocationInputWindow(locationWindowControl);
            } while (!locationWindowControl.IsValidCitySet() &&
                     ShouldContinueLocationSelection(appliedTheme));

            return(locationWindowControl.IsValidCitySet());
        }