Implement marking task as done