View cleanup for tasks