Use encodedEventName instead of eventName in setEventListener and getEventListener