public void run()
  {
    if (DEBUG) log("Now running TaskEdit Command");
    if (taskViewsToUpdate != null)
    {
      if (DEBUG) log("currentState completed? " + currentState.isCompleted());
      if (DEBUG) log("newState completed? " + newState.isCompleted());
      if (DEBUG) log("Update currentState to newState");
      currentState.updateFrom(newState);
      if (DEBUG) log("currentState completed after update? " + currentState.isCompleted());
      if (DEBUG) log("Update taskViews");
      for (TaskView taskView : taskViewsToUpdate)
      {
        taskView.updateTaskInfo();
      }
    }
  }