Deleting previous task