added logic to get dayWeeks for alarm