void FilterItemControl_Loaded(object sender, RoutedEventArgs e)
{
//Set ListPickers selections according to all settings
if (ListSelector.Items.Count > App.Settings.SelectedListIndexSetting)
{
//Set ListSelector selection according to SelectedListIndexSetting
ListSelector.SelectedIndex = App.Settings.SelectedListIndexSetting;
ShoppingList curList = ListSelector.SelectedItem as ShoppingList;
TagsSelector.ItemsSource = curList.Tags;
TagsSelector.SelectedItem = curList.FilterTag;
StoreSelector.ItemsSource = curList.ListStoreLabels;
StoreSelector.SelectedItem = curList.FilterStore;
}
//Page is loaded -> change flag to 'true'
this.bLoaded = true;
}