Handle deleted tasks in syncedDevice
Add persistance for syncedDevices