Fix bug where days were not saved