Move adding a submission to a task to TaskEntity