added tryRegisterEventListener to EventManager