updated `NotificationHandler` to take advantage of the updated `NotificationProvider` interface.