changed variable name for search

- changed list to allTasks to make it more meaningful