Made server loop; made app save BluetoothDevice