         // no dishes found
         if self.data == [] {
             let cell = tableView.dequeueReusableCellWithIdentifier("emptyCell")!
-            let weekday = NSCalendar.currentCalendar().component(.Weekday, fromDate: self.date)
+            let weekday = self.calendar.component(.Weekday, fromDate: self.date)
             if (weekday == 1) || (weekday == 7) {
                 cell.textLabel?.text = "Es ist Wochenende und die Mensa hat geschlossen!"
             } else {

    // now
    var date = NSDate()
    let oneDayinSeconds: Double = 24 * 60 * 60
    
    let context = (UIApplication.sharedApplication().delegate as! AppDelegate).managedObjectContext // CoreData
    var data = [Menu]()

            
            // back on the main Queue we update the header and load the Cells
            NSOperationQueue.mainQueue().addOperationWithBlock {
                self.navItem.title = self.formatter.stringFromDate(self.date)
                // reload tableView
                self.tableView.reloadData()
            }
