Setting up alarm for notification service.