When offline, add/delete/update floating tasks are not synced until online. When online, floating tasks with no ID are synced and their IDs set. Create getHasId() in Task.