Fix flow installation state in UI