     
     public func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
         tableView.deselectRowAtIndexPath(indexPath, animated: false)
+        let cell: CGAttributedTableViewCell = tableView.cellForRowAtIndexPath(indexPath) as CGAttributedTableViewCell
         if _singleEditingMode {
-            let cell: CGAttributedTableViewCell = tableView.cellForRowAtIndexPath(indexPath) as CGAttributedTableViewCell
             if cell.editMode {
                 selectedCell = nil
                 selectedIndexPath = nil

        }
        
        let cell: CGAttributedTableViewCell = tableView.dequeueReusableCellWithIdentifier(type.simpleDescription(), forIndexPath: indexPath) as CGAttributedTableViewCell
        cell.delegate = self
        cell.tableView = self
        cell.keyboardType = type.keyboardType()
        

    }
    
    override func assignFirstResponder() {
        println("Assigning First Responder")
        
        textField.becomeFirstResponder()
    }
    
    override func resignAllFirstResponders() {
        println("Resigning First Responder")
        
        textField.resignFirstResponder()
    }
    
