GUI update calendar after editing

added minor code so that the calendars would update after editing a
shift or appointment