How to Change the Task Status?