Use content provider in update tasks.
Fix canceling of downloads and removing of files on the device.