refactored logic from ListActivity to TaskListService