             break
         }
     }
-
+    
     /// The user's preferred method of fetching insulin data from the pump
     var preferredInsulinDataSource = NSUserDefaults.standardUserDefaults().preferredInsulinDataSource ?? .PumpHistory {
         didSet {
             NSUserDefaults.standardUserDefaults().preferredInsulinDataSource = preferredInsulinDataSource
         }
     }
-
+    
     // MARK: G5 Transmitter
-
+    
     private var transmitterState: State<Transmitter> = .NeedsConfiguration {
         didSet {
             switch transmitterState {

        guard let device = rileyLinkManager.firstConnectedDevice else {
            return
        }

        device.assertIdleListening()

        // How long should we wait before we poll for new reservoir data?
        let reservoirTolerance = rileyLinkManager.idleListeningEnabled ? NSTimeInterval(minutes: 11) : NSTimeInterval(minutes: 4)

        // If we don't yet have reservoir data, or it's old, poll for it.
        if latestReservoirValue == nil || latestReservoirValue!.startDate.timeIntervalSinceNow <= -reservoirTolerance {
            device.ops?.readRemainingInsulin { (result) in

            return nil
        }
    }
    
    // MARK: - RileyLink
    
    @objc private func receivedRileyLinkManagerNotification(note: NSNotification) {
        NSNotificationCenter.defaultCenter().postNotificationName(note.name, object: self, userInfo: note.userInfo)
    }
    
    /**
     Called when a new idle message is received by the RileyLink.
     
     Only MySentryPumpStatus messages are handled.
     
     - parameter note: The notification object
     */
    @objc private func receivedRileyLinkPacketNotification(note: NSNotification) {
