I'm not all that familiar with the inner workings of the firmware, but I'm sure there is a change temperature command that doesn't require the toolhead to be switched.
If there is another change temperature command that you want to use, just go to Tools > Firmware Configuration, and you can enter it there.