filter tasks by incomplete and all