When new task is added to GroupManager, it will be ungrouped
if the task demands attention. Group it back again once it loses
demands attention state.
When there is more than one task demanding attention of
one program, all tasks of that program gets grouped once one of the
program's tasks loses attention. I'm not sure how to fix that, otherwise
it seems to work fine.