Fix celsius/fahrenheit doesn't switch immediately