Basically transferred code from the VisitNotification to the NotificationController. AppDelegate is handling the NotificationController, this should keep the code from interfering with other people's stuff.