Clears data after delete all tasks and no crash