Changed event type in callback