Device power state handling when switching activities in the same activity group. Fixes for “Turn off unused entities” options:
“Always”: determine correct power commands of IR remote-entities (#225).
“Run modified off sequence”: correct order of original power-off sequence commands (#286).
Regression in activity groups when adding an activity to a group: activity is correctly associated to the group without having to restart the remote (#225).