         self.sortdirection.image = #imageLiteral(resourceName: "up")
         self.sortedascendigdesending = true
         self.working.usesThreadedAnimation = true
+        self.information = Info()
     }
 
     override func viewDidAppear() {

                if let index = self.index {
                    let hiddenID = self.configurations?.gethiddenID(index: index) ?? -1
                    self.scheduleloggdata = ScheduleLoggData(hiddenID: hiddenID, sortdirection: self.sortedascendigdesending)
                    self.info.stringValue = Info().info2(num: 1)
                } else {
                    self.info.stringValue = Info().info2(num: 0)
                    self.scheduleloggdata = ScheduleLoggData(sortdirection: self.sortedascendigdesending)
                }
                self.scheduletable.reloadData()

                if config?.task == "snapshot" { self.working.startAnimation(nil) }
                self.snapshotsloggdata = SnapshotsLoggData(config: config!, insnapshot: false)
            }
            self.info.stringValue = self.information!.info2(num: 1)
        } else {
            self.info.stringValue = self.information!.info2(num: 0)
            self.scheduleloggdata = ScheduleLoggData(sortdirection: self.sortedascendigdesending)
        }
        self.viewispresent = true
