     func applicationDidBecomeActive(_ application: UIApplication) {
         // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
         
+        guard let _ = self.currentiCloudToken else { return }
         guard let validRootViewController = self.window?.rootViewController,
             validRootViewController.childViewControllers.count <= 1,
             let validNavigationControllerEmbeddedInNotesViewController = validRootViewController.storyboard?.instantiateViewController(withIdentifier: "NavigationControllerEmbeddedInNotesViewController") as? UINavigationController else { return }

        IQKeyboardManager.sharedManager().enable = true

        // TODO: - Add logic to prepare app to use iCloud & handle changes in iCloud availability
        /***
        // Check for iCloud availability
        DispatchQueue.main.async { [weak self] in

    
    var window: UIWindow?
    
    // Obtaining the iCloud token
    var currentiCloudToken: (NSCoding, NSCopying, NSObjectProtocol)?
    
    let iCloudTokenIdentifer = "org.corruptionofconformity.thoughtless.UbiquityIdentityToken"
    
    // MARK: - Helper Methods
    
    func iCloudAccountAvailabilityHasChanged() {
        print("iCloud account has changed. Old:\(String(describing: self.currentiCloudToken)). New: \(String(describing: FileManager.default.ubiquityIdentityToken as? (NSCoding, NSCopying, NSObjectProtocol)))")
    }
    
    // MARK: - UIApplicationDelegate Methods
    
