Aded 4 states: event detected, event still active, event finished, no changes