refactory de CategoryAction