Ensure that whenever a new submenu is selected, the active item is correctly provided to the navigation, so we can navigate back properly.