   }
   
   // MARK: Content related methods
-  func configureCheckmarkForCell(cell: UITableViewCell, indexPath: NSIndexPath) {
-    let isChecked = checkListItems[indexPath.row].checked
+  func configureCheckmarkForCell(cell: UITableViewCell, withChecklistItem checklistItem: ChecklistItem) {
     
-    
-    if isChecked {
+    if checklistItem.checked {
       cell.accessoryType = .Checkmark
     } else {
       cell.accessoryType = .None

    let label = cell.viewWithTag(1000) as? UILabel
    label?.text = checklistItem.text
    
    configureCheckmarkForCell(cell, indexPath: indexPath)
    
    return cell
  }

       let checklistItem = checkListItems[indexPath.row]
      checklistItem.checked = !checklistItem.checked

   configureCheckmarkForCell(cell, withChecklistItem: checklistItem)
      
    }
    tableView.deselectRowAtIndexPath(indexPath, animated: true)
