implemented ConditionObserver. checkbox action listener works