I would like an event to be fired when a transition is executed.

Here is the whole picture

The transition is still shown as inactive even though it is used by a workflow:

How can I fix this problem and make the transition valid?
The event is also not fired when I click on the transition 