Refactor TaskStatus enum.