What determines particular activity is on/off

If I have activity group with activities, what determines unfolded circle to show particular activity on or off?

Also, If I add media player entity of receiver to page, what controls on remote need to be used to turn on/off ?

I do not understand the 1st question. You start an activity then it’s on. I end an activity then it’s off.

Ralf