Persiting categories through service