         tasks: tasks
   refreshDay: ->
     curDay = getCurrentDay()
+    curDate = getCurrentDate()
     curMonth = getCurrentMonth()
-    curDate = getCurrentDate()
-    return if prevDay == curDay and prevMonth == curMonth
+    return if prevDay == curDay and prevDate == curDate and prevMonth == curMonth
     {tasks} = @state
     for task, idx in tasks
       continue if task.id == 100000

questRecord = {}
syncQuestRecord = ->
  questRecord.day = getCurrentDay()
  questRecord.month = getCurrentMonth()
  localStorage.setItem "quest_tracking_#{memberId}", JSON.stringify(questRecord)
clearQuestRecord = (id) ->
  delete questRecord[id] if questRecord[id]?
  syncQuestRecord()
activateQuestRecord = (id) ->
  if questRecord[id]?
    questRecord[id].active = true
    return
  questRecord[id] =
    count: 0
    required: 0
    active: true
  for k, v of questGoals[id]
    continue if k == 'type'
    questRecord[id][k] =
      count: v.init
      required: v.required
      description: v.description
    questRecord[id].count += v.init
    questRecord[id].required += v.required
  syncQuestRecord()
inactivateQuestRecord = (id) ->
  return unless questRecord[id]?

          else if task.api_progress_flag == 2
            progress = '80%'
          # Determine customize progress
          activateQuestRecord task.api_no, progress if questGoals[task.api_no]?
          idx = _.findIndex tasks, (e) ->
            e.id == task.api_no
          # Do not exist currently
