Prioritize transition when prepare state machine builder