wip
fixed the cache issues for threshold and added a message when the checkbox change is not allowed
scheduler does not send anymore empty conditions