 
     override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath)
     {
-        cell.textLabel?.font = UIFont.preferredFontForTextStyle((cell.textLabel?.font.fontDescriptor().objectForKey("NSCTFontUIUsageAttribute") as String))
-        cell.detailTextLabel?.font = UIFont.preferredFontForTextStyle((cell.detailTextLabel?.font.fontDescriptor().objectForKey("NSCTFontUIUsageAttribute") as String))
+        cell.textLabel?.font = UIFont.preferredFontForTextStyle((cell.textLabel?.font.fontDescriptor().objectForKey("NSCTFontUIUsageAttribute") as! String))
+        cell.detailTextLabel?.font = UIFont.preferredFontForTextStyle((cell.detailTextLabel?.font.fontDescriptor().objectForKey("NSCTFontUIUsageAttribute") as! String))
     }
 
 
     override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)
     {
-        let station = fetchedResultsController.objectAtIndexPath(indexPath) as CDStation
+        let station = fetchedResultsController.objectAtIndexPath(indexPath) as! CDStation
         //let cell = tableView.cellForRowAtIndexPath(indexPath)
 
         station.isHidden = NSNumber(bool: !station.isHidden.boolValue)

    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int
    {
        let sections = fetchedResultsController.sections as Array!
        let sectionInfo = sections[section] as NSFetchedResultsSectionInfo

        return sectionInfo.numberOfObjects
    }


        changeIsUserDriven = true

        var array = fetchedResultsController.fetchedObjects as! [CDStation]
        let objectToMove = fetchedResultsController.objectAtIndexPath(sourceIndexPath) as! CDStation
        array.removeAtIndex(sourceIndexPath.row)
        array.insert(objectToMove, atIndex: destinationIndexPath.row)

