added updating category on menu click as well as hasBeenViewed and hasBeenCategorised flags