                 indexPaths = indexPaths ?? []
                 indexPaths!.append(NSIndexPath(forRow: row, inSection: NTSectionType.DetectedBeacons.rawValue))
             }
-            row++
+            row += 1
         }
 
         return indexPaths

            case NTOperationsRow.Monitoring.rawValue:
                monitoringSwitch = operationCell.accessoryView as? UISwitch
                monitoringActivityIndicator = operationCell.activityIndicator
                monitoringSwitch.addTarget(self, action: "changeMonitoringState:", forControlEvents: UIControlEvents.ValueChanged)
                monitoringSwitch.on ? monitoringActivityIndicator.startAnimating() : monitoringActivityIndicator.stopAnimating()
            case NTOperationsRow.Advertising.rawValue:
                advertisingSwitch = operationCell.accessoryView as? UISwitch
                advertisingActivityIndicator = operationCell.activityIndicator
                advertisingSwitch.addTarget(self, action: "changeAdvertisingState:", forControlEvents: UIControlEvents.ValueChanged)
                advertisingSwitch.on ? advertisingActivityIndicator.startAnimating() : advertisingActivityIndicator.stopAnimating()
            case NTOperationsRow.Ranging.rawValue:
                rangingSwitch = cell?.accessoryView as? UISwitch
                rangingSwitch.addTarget(self, action: "changeRangingState:", forControlEvents: UIControlEvents.ValueChanged)
            default:
                break
            }

                indexPaths = indexPaths ?? []
                indexPaths!.append(NSIndexPath(forRow: row, inSection: NTSectionType.DetectedBeacons.rawValue))
            }
            row += 1
        }

        return indexPaths
