Fixed destroy button on tasks