Corrected GPS on/off switching.