         default:
             print("Bluetooth unavailable")
             peripherals.removeAll(keepingCapacity: false)
+            tableView.reloadData()
         }
     }
 

            print(capabilities.description)
            peripherals.append(peripheral)
            tableView.reloadData()
        }
    }


    // MARK: - PanoPeripheralDelegate

    func panoPeripheralDidConnect(_ panoPeripheral: PanoPeripheral){
        UserDefaults.standard.set(panoPeripheral.peripheral?.identifier.uuidString, forKey: "lastPeripheralUUID")
        if panoPeripheral.status.running == 1 {
            performSegue(withIdentifier: "pano", sender: self)
        } else {
