Refactor OperatorCatagories: move selectedCategory to state