Improve synchronization code. Fix edge case that occurs when importing notes while synchronization is disabled.
Increment version.