Added statistic update after category selection or removal.