add warning when delete all tasks