emitting event when group is selected and showing some content in example