     }
 
     override func viewDidLoad() {
+        KeyboardHelper.defaultHelper.addDelegate(delegate: self)
         title = UIConstants.strings.AddSearchEngineTitle
 
         setupUI()

    private var nameInput = UITextField()
    private var templateInput = UITextView()
    private var templatePlaceholderLabel = UITextView()
    private var container = UIView()

    init(delegate: AddSearchEngineDelegate, searchEngineManager: SearchEngineManager) {


    private func setupUI() {
        view.backgroundColor = .primaryBackground
        view.addSubview(scrollView)

        scrollView.snp.makeConstraints { (make) in
            make.leading.trailing.top.bottom.equalToSuperview()
        }
        scrollView.showsVerticalScrollIndicator = false
        
        let nameLabel = SmartLabel()
        nameLabel.text = UIConstants.strings.NameToDisplay
        nameLabel.textColor = .primaryText
