Making the event listener configuration variables injectable