When parameter value is modified by the user, this value is stored so that TRAVAL can use it for detection. This means the value is overwritten, and also callables (such as the hardmax threshold) are overwritten. Switching to a new location will then not retrieve the appropriate threshold for that new location but keep the modified value.
Somehow rebuild the full original form when selecting a new time series, and fill in derived values for that current location.