Fixed Clear Tasks()