cache last selected componentType for each category