         let stationInfo = self.fetchedResultsController.objectAtIndexPath(indexPath) as CDStation
 
         let url = NSURL.URLWithString("vindsiden://station/\(stationInfo.stationId)?todayView=1")
-        extensionContext.openURL(url, completionHandler: nil)
-    }
-
-    // NSFetchedResultsController
+        extensionContext?.openURL(url, completionHandler:  nil)
+    }
+
+    // MARK: - NSFetchedResultsController
 
     var fetchedResultsController: NSFetchedResultsController {
         if let actual = _fetchedResultsController {

                    cell.speedLabel!.text = "\(speedFormatter.stringFromNumber(speed)) \(NSNumber.shortUnitNameString(realUnit))"
                }
                cell.arrowImageView!.image = image
                cell.updatedLabel!.text = dateTransformer.transformedValue(plot.plotTime) as String
            } else {
                cell.speedLabel!.text = "—.—"
                //cell.arrowImageView.image = nil;
                cell.updatedLabel!.text = NSLocalizedString("Not updated", comment: "")
            }
            cell.nameLabel!.text = stationInfo.stationName

        fetchRequest.predicate = NSPredicate(format: "isHidden = NO", argumentArray: nil)
        fetchRequest.sortDescriptors = [NSSortDescriptor(key: "order", ascending: true)]

        _fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest, managedObjectContext: Datamanager.sharedManager().managedObjectContext!, sectionNameKeyPath: nil, cacheName: nil)
        _fetchedResultsController!.delegate = self

        let success = _fetchedResultsController!.performFetch(nil)
