I think because the refresh button calls the router.refresh(); so the hole router object refreshed then the initialLocation be the top route in the app