lastNewGroup = false; lastAssignment = null;
  public void removeAssignment (String taskKey, boolean wasInSchedule) {    if (wasInSchedule)      schedule.remove (assignments.get (taskKey));    assignments.remove (taskKey);  }