Now we manage tasks and their corresponding activities, even if they are recreated.