Updated TempControl's setMode.