fixed circular dependency problem by extracting the dao functionality from dailyscheduler