         var section3 = TableSection()
         var item3 = TableItem("Theme Example", selectBlock: { (item:TableItem, indexPath:NSIndexPath, actionsTarget:TableActions?) -> () in
             let detailVC:ThemedViewController = UIStoryboard(name:"Main", bundle:nil).instantiateViewControllerWithIdentifier("themedVC") as ThemedViewController
-            self.navigationController.pushViewController(detailVC, animated: true)
+            self.navigationController!.pushViewController(detailVC, animated: true)
             })
             
         section3.append(item3)

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if segue.identifier == "showDetail" {
            let indexPath = self.tableView.indexPathForSelectedRow()
            if let item = self.model[indexPath] {
                (segue.destinationViewController as DetailViewController).detailItem = item
            }
        }


        if let item = self.model[indexPath] {
            if let title = item.titleForIndexPath(indexPath) {
                cell.textLabel!.text = title
            }
            else {
                cell.textLabel!.text = item.title
            }
        }
        return cell
