private static final String BEHAVIOR_PROPERTIES = "properties";
private static final String BEHAVIOR_ACTIVITY = "activity";
@Override
public void init() {
present = new BooleanBehaviorLogic((BooleanBehavior) getPojo().getBehavior(BEHAVIOR_PRESENT));
//add a listener to values changes
present.addListener(new BooleanBehaviorLogic.Listener() {
@Override
public void onTrue(Config params, boolean fireCommand) {
setPresent();