Improve implementation
current state is able to get tasks from server and write to contentprovider