private void LocaleSelected(object sender, SelectionChangedEventArgs e) { LocaleSelectInfo localSelectData = (LocaleSelectList.SelectedItem as LocaleSelectInfo); if (localSelectData.Locale != SelectedLocale) { SelectedLocale = localSelectData.Locale; SettingStorage.Store("LastLocaleSelectedIndex", LocaleSelectList.SelectedIndex.ToString()); } }