Use constants to select repository id
Populate the global event handlers combo in applications
Fix externalization of global event handlers in applications