Update

Auto refresh after changing threshold
Check if MAX > MIN threshold value