added persistence checking, events which already exist on the device will no longer be downloaded