Added Wi-Fi toggle functionality.