Fixes about Wifi and Bluetooth scanning