         }
     }
     
+    
+    
     /**
      Called on load to setup notifications for the returned scheduled activities.
      

        
        // schedule notifications
        setupNotifications(for: scheduledActivities)
        
        // Filter out any sections that aren't shown
        let filters = sections.mapAndFilter({ filterPredicate(for: $0) })
        let includedSections = NSCompoundPredicate(orPredicateWithSubpredicates: filters)
        
        // Filter the scheduled activities to only include those that *this* version of the app is designed
        // to be able to handle. Currently, that means only taskReference activities with an identifier that
        // maps to a known task.
        self.activities = scheduledActivities.filter({ (schedule) -> Bool in
            return bridgeInfo.taskReferenceForSchedule(schedule) != nil && includedSections.evaluate(with: schedule)
        })
        
        // reload table

    open func setupNotifications(for scheduledActivities: [SBBScheduledActivity]) {
        // schedule notifications
        SBANotificationsManager.shared.setupNotifications(for: scheduledActivities)
    }
    
    /**
