Add activity field for grouping