Update num alarms badge immediately when an alarm is handled