Update labels after restoring tasks