put style on group selected