void addSettingsScenarioAdd_Click(object sender, RoutedEventArgs e)
{
Button b = sender as Button;
if (b != null)
{
rootPage.NotifyUser("You selected the " + b.Content+ " button", NotifyType.StatusMessage);
if (!this.isEventRegistered)
{
// TODO 2.1: be notified before the Settings Charm appears to add our settings
SettingsPane.GetForCurrentView().CommandsRequested += onCommandsRequested;
this.isEventRegistered = true;
}
}
}