/// <summary>
		/// Handles the Click event of the CharacterContextMenuItemMoveToGroup control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
		private void CharacterContextMenuItemMoveToGroup_Click(object sender, RoutedEventArgs e)
		{
			var character = (CharacterListItem)((FrameworkElement)sender).DataContext;
			_character = character;
			gdGroups.Visibility = Visibility.Visible;
			ApplicationBar = null;
		}
		/// <summary>
		/// This method is called when the hardware back key is pressed.
		/// </summary>
		/// <param name="e">Set e.Cancel to true to indicate that the request was handled by the application.</param>
		protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
		{
			base.OnBackKeyPress(e);

			if (gdGroups.Visibility == Visibility.Visible)
			{
				gdGroups.Visibility = Visibility.Collapsed;
				_character = null;
				BuildApplicationBar();
				FillGroups();
				e.Cancel = true;
			}
		}
		/// <summary>
		/// Handles the SelectionChanged event of the lbGroups control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="System.Windows.Controls.SelectionChangedEventArgs"/> instance containing the event data.</param>
		private void lbGroups_SelectionChanged(object sender, SelectionChangedEventArgs e)
		{
			if (lbGroups.SelectedItem == null)
			{
				return;
			}

			var guid = ((KeyValuePair<Guid, string>)e.AddedItems[0]).Key;
			IsolatedStorageManager.StoredCharacters.Where(c => c.Guid == _character.Guid).First().CharacterListGroup = guid;
			_character = null;
			lbGroups.SelectedItem = null;
			gdGroups.Visibility = Visibility.Collapsed;
			ViewModel.RefreshView();
			BuildApplicationBar();
			FillGroups();
		}