     var managedObjectContext: NSManagedObjectContext? = nil
     var pageIndex: Int64 = 0
     var currentEntity: DocumentEntity? = nil
-    var currentCKRecords: [CKRecord]? = nil {
-        didSet {
-            checkForNewerRecords()
-        }
-    }
+    var currentCKRecords: [CKRecord]? = nil
     
     // scaleFactorForSizeToFit
     var portraitScaleSingle: CGFloat = 0.0

        }
    }
    
    func moveToLastReadingProsess() {
        if let currentEntity = currentEntity {
            pageIndex = currentEntity.pageIndex
        } else if isVerticalWriting {

                
                self.pdfView.document = document
                
                self.moveToLastViewedPage()
                if self.pdfView.displayDirection == .vertical {
                    self.getScaleFactorForSizeToFit()
                }
