core: check bar conditions in root bars and on each update of a bar item