Convert trigger activation to event (#225)