                 self.resetinfo()
                 return
             }
-            guard index != self.lastindex ?? -1 else { return }
+            guard self.index() != self.lastindex ?? -1 else { return }
             guard self.estimatedindex ?? -1 != index else { return }
             self.resetinfo()
             self.setinfo()

    }

    @IBAction func displayrsynccommand(_: NSButton) {
        guard self.index != nil else {
            self.rsynccommanddisplay.stringValue = ""
            return
        }
        if self.verifyradiobutton.state == .on {
            self.rsynccommanddisplay.stringValue = Displayrsyncpath(index: self.index!, display: .verify).displayrsyncpath ?? ""
        } else {
            self.rsynccommanddisplay.stringValue = Displayrsyncpath(index: self.index!, display: .restore).displayrsyncpath ?? ""
        }
    }

    // Abort button
    @IBAction func abort(_: NSButton) {
        self.lastindex = self.index
        guard self.processRefererence != nil else { return }
        self.processRefererence!.abortProcess()
    }


    override func viewDidDisappear() {
        super.viewDidDisappear()
        self.lastindex = self.index()
    }

    private func enabledisablebuttons(enable: Bool) {
