/// <summary>
 /// Does the command</summary>
 /// <param name="tag">Command to be done</param>
 public void DoCommand(object tag)
 {
     switch ((Commands)tag)
     {
     case Commands.AddCharacter:
         CharacterSettingsContext context = m_contextRegistry.GetActiveContext <CharacterSettingsContext>();
         if (context != null)
         {
             context.DoTransaction(delegate
             {
                 context.Add();
             }, "Add New Character".Localize());
         }
         break;
     }
 }