fixed original task alarms going off after the task has been paused and started again