 //            cell.onSwitch.hidden = true
             cell.onSwitch.on = switchStates[indexPath] ?? false
             
-            
+            //Almost implemented!
             if cell.onSwitch!.on {
 //                cell.accessoryView = UIImageView(image: UIImage(named: "SortSelected"))
                 cell.accessoryType = .Checkmark

    let radiusCellKey = 1
    let sortCellKey = 2
    
    let dealsText = "Offering a Deal"
    
    var categories: [[String:String]]!
    var switchStates = [NSIndexPath: Bool]()

    
    // radiusCelllDelegate
    func radiusCell(radiusCell: RadiusCell, valueUpdated: Bool) {
        matchType = tableView.indexPathForCell(radiusCell)!.row
    }
    
