Store endTime as a field of Settings