moved scheduling of notification to NotificationSrevice