Using the string version of the news in case of the all function
Refactored function to intercept anchor click