Now modifies title of the page whenever the links are clicked