set all tags of paintings
add possibility to choose the conditions to stop waiting for the state machine