public void AddAndExecuteCommand(IUndoRedoCommand command)
 {
     _redoStack.Clear();
     _undoStack.Push(command.ExecuteCommand());
     Update();
 }