         let height = keywordButton.heightAnchor.constraintEqualToAnchor(contentView.heightAnchor)
 
         NSLayoutConstraint.activateConstraints([leading, centerX, centerY, width, height])
+    }
+
+    @objc private func tapKeyword() {
+        if let keyword = keyword {
+            tapKeywordAction?(keyword: keyword)
+        }
     }
 }
 

//        return label
//    }()

    lazy var keywordButton: UIButton = {
        let button = UIButton()
        button.titleLabel?.font = UIFont.systemFontOfSize(18)
        button.setTitleColor(UIColor.yepTintColor(), forState: .Normal)
        return button
    }()


        let cell = tableView.dequeueReusableCellWithIdentifier(KeywordCell.reuseIdentifier) as! KeywordCell
        let keyword = keywords[indexPath.row]
        //cell.keywordLabel.text = keyword

        cell.keyword = keyword

        cell.tapKeywordAction = { [weak self] keyword in
            self?.tapKeywordAction?(keyword: keyword)
        }

        return cell
    }

//    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
//
//        defer {
//            tableView.deselectRowAtIndexPath(indexPath, animated: true)
//        }
//
//        let keyword = keywords[indexPath.row]
//        tapKeywordAction?(keyword: keyword)
//    }
}

