         
         let cell = tableView.dequeueReusableCellWithIdentifier(currentCellDescriptor["cellIdentifier"] as! String, forIndexPath: indexPath) as! UITableViewCell
         
+        cell.textLabel?.text = ""
+        cell.detailTextLabel?.text = ""
         if currentCellDescriptor["isVisible"] as! Int == 1 {
             if (currentCellDescriptor["primaryTitle"] as! String).characters.count > 0 {
                 print("primary")

            }
            else if let secondaryTitle = currentCellDescriptor["secondaryTitle"] {
                print("\(secondaryTitle)")
                cell.textLabel?.text = secondaryTitle as? String
            }
        }
        

    }
    
    /**
     Update the visibleRowsInSection array with the indexes of the cells which are currently visible
     This is called before the table view is filled with the corresponding cells
     */
    func getIndicesOfVisibleRows() {
        visibleRowsInSection.removeAll()//To prevent duplicate cells
        
        for currentSectionCells in cellDescriptors {
            var visibleRows = [Int]()
