Remove tasks in detail view