Refining the function of the Categories List