WriteAbsenceData() method in AbsenceController was modified