updated
fixed improper display of "task is running in the background" when task is already completed