Adapt App to use 'triggers' instead of 'events'