Add delete task and remove modify function
Use delete task. Correct status of flow.
bugfixes in flow.models