adjusted the logic for only triggering a change in a route because of a regression when handling the init event upon registering event listeners on route changes.