         }
         
         flux = MSessionFlux.factory(status:nextStatus)
+        settings?.fluxStatus = nextStatus.rawValue
+        DManager.sharedInstance.save()
         
         NotificationCenter.default.post(
             name:Notification.fluxUpdate,

    private func asyncLoadSettings()
    {
        DManager.sharedInstance.fetchManagedObjects(
            modelType:DObjectSettings.self,
            limit:1)
        { (settingsList:[DObjectSettings]?) in

                
                return
            }
            
            print("settings")
            print(settings)
            
            self.settings = settings
            self.settingsLoaded()
