             
             let fetchedConfig = AppConfigAdapter.adapt(configJSON)
             
-            if let existingConfig = self.realm.objects(AppConfig.self).last {
-                // if the fetched config from the service is equal to the config in the database, don't bother updating It
-                guard !fetchedConfig.isEqualToConfig(existingConfig) else { return }
+            let existingConfig = self.realm.objects(AppConfig.self).last
+            
+            // if the fetched config from the service is equal to the config in the database, don't bother updating It
+            guard !fetchedConfig.isEqualToConfig(existingConfig) else {
+                self.config = existingConfig
+                return
             }
             
             if fetchedConfig.isWWDCWeek {

                mainQS {
                    // check if the videos have been updated since the last fetch
                    if json["updated"].stringValue == weakSelf.config.videosUpdatedAt && !weakSelf.config.shouldIgnoreCache {
                        print("Video list did not change")
                        newVideosAvailable = false
                    } else {
                        try! weakSelf.realm.write { weakSelf.config.videosUpdatedAt = json["updated"].stringValue }

    var config: AppConfig! {
        didSet {
            guard config != nil else { return }
            
            #if DEBUG
                NSLog("Did fetch AppConfig")
            #endif
            
            wipe2016TechTalksVideos()
            updateSessionVideos()
