Added 'favourites' variable to record favourite links and console message to confirm change it its status