fix switching between gps tracking button states