Set saving event callback and notification type