Fixes in breakconditions and state UI