RefreshCurrentTemperature code added