             }
         }
         
-        cell.onClick { [weak self] (tapGestureRecognizer) in
-            self?.tableView(tableView, didTapOnRowAtIndex: index)
-        }
         cell.onLongPress({ [weak self] (longPressGestureRecognizer) in
             self?.tableView(tableView, didLongTapOnRowAtIndex: index)
         })


        userDefaultsTextField.text = NSUserDefaults.standardUserDefaults().objectForKey(UserDefaultsKey) as? String
        self.view.onClick {_ in 
            self.view.firstResponder()?.resignFirstResponder()
        }

        dbStateTableView.layer.cornerRadius = 5

    override func viewWillDisappear(animated: Bool) {
        super.viewWillDisappear(animated)

        self.view.endEditing(true)
    }

    @IBAction func showFirebaseButtonPressed(sender: AnyObject) {
