When a state has two or more internal transitions, you may need to change their execution order.
To change the execution order
1. Right-click over the Header bar of the state.
2. Click the Activity Manager tab.
3. Under Selected Actions, select the trigger whose execution order is to be changed.
4. Use the arrows to change the order of the triggers.