update activity group selector logic