Change threshold condition.