#707 set badge number to 1 whenever there is active notifications, set it to 0 if there isn’t any active notification.