Added translation for leaving an state. Bug fix on Enter Events rule. You would need to click twice on the button to generate correctly