Update and rename toggle_wifi_r1 to toggle_wifi_r2