applyCategory - What is the primary function of the applyCategory action?