Implemented logic to sync devices' local store when notes are deleted from other devices.