     }
 
     func tableView(tableView: UITableView, willSelectRowAtIndexPath indexPath: NSIndexPath) -> NSIndexPath? {
+        
         let section = items[indexPath.section]
         lastSelectedSpeaker = section[section.keys.first!]![indexPath.row]
         return indexPath


extension SpeakersViewController: UISearchControllerDelegate, UISearchResultsUpdating, UISearchBarDelegate {

    @IBAction func actionSearch(sender: AnyObject) {
        //search
        searchController = UISearchController(searchResultsController:  nil)

    }
    
    func didDismissSearchController(searchController: UISearchController) {
        
        searchController.searchBar.resignFirstResponder()
        searchController.searchResultsUpdater = nil
        searchController.searchBar.delegate = nil
        searchController.delegate = nil
        self.searchController!.searchBar.removeFromSuperview()
        self.searchController = nil
        
        btnFavorites.hidden = false
        navigationItem.prompt = nil
        navigationItem.leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Search, target: self, action: "actionSearch:")
    }
    
