Added code to switch the page title.