Make sure the URL is updated when menu is clicked