get tasks in main list + delete sharedpref after task is create