[ ] Due to the implementation of Entity persistence, locally created tasks should be transfer data to server created tasks and then be deleted so that they are not synced later.
[ ] We need to first sync tasks from server before syncing tasks created on the device.
Whenever there is a task synced from the server and local task exists and is not in Ready status, the below should happen
[ ] The local task will be used to update the task synced from the server
[ ] The events will be updated to reference the new task
[ ] Client processing should be triggered on events above
[ ] The local task will then be deleted
[ ] The task and event will be synced to the server
[ ] Due to the implementation of Entity persistence, locally created tasks should be transfer data to server created tasks and then be deleted so that they are not synced later.
[ ] We need to first sync tasks from server before syncing tasks created on the device.
Whenever there is a task synced from the server and local task exists and is not in Ready status, the below should happen