This is done to use the NavigationStack component in the following navigation refactoring to remove the NavigationView