Add status for task.

Nedd refactor for optimize copy paste