better tasksubmission and moved taskStatus to viewmodel