             case NTOperationsRow.Monitoring.rawValue:
                 monitoringSwitch = operationCell.accessoryView as? UISwitch
                 monitoringActivityIndicator = operationCell.activityIndicator
-                monitoringSwitch.addTarget(self, action: "changeMonitoringState:", forControlEvents: UIControlEvents.ValueChanged)
+                monitoringSwitch.addTarget(self, action: #selector(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.addTarget(self, action: #selector(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)
+                rangingSwitch.addTarget(self, action: #selector(changeRangingState(_:)), forControlEvents: UIControlEvents.ValueChanged)
             default:
                 break
             }

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

        return indexPaths

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

        return indexPaths
