Update document.title when the category changes.