Changed the WiFi's mode while screen off