     
     func dereferenceModeController() {
         
-        pinIoViewController = nil
         uartViewController = nil
         deviceInfoViewController = nil
         controllerViewController = nil
-        dfuViewController = nil
-    }
-    
-
-}
+    }
+    
+
+}

        }
        
        //if status was connected, then disconnect was unexpected by the user, show alert
        let topVC = navController.topViewController
        if  connectionStatus == ConnectionStatus.Connected && isModuleController(topVC!) {
            
            printLog(self, funcName: "centralManager:didDisconnectPeripheral", logString: "unexpected disconnect while connected")
            

    
    
    
    private var connectionTimer:NSTimer?
    private let cbcmQueue = dispatch_queue_create("com.adafruit.bluefruitconnect.cbcmqueue", DISPATCH_QUEUE_CONCURRENT)
    private var currentPeripheral:BLEPeripheral?
    private var currentAlertView:UIAlertController?
