Fix Bug in EditCommand and TaskDetailController
Preparing to merge with Andhieka