update threshold values dynamically
otherwise problems occur with saving wrong values when switching between C/F
update threshold values dynamically
otherwise problems occur with saving wrong values when switching between C/F