recursive master task done

when a task is done, it recursively search all master tasks and mark it
as done as well