Change the URL when switching tabs in the contentlibrary widget