Changes to initializations and reachability detection.
Avoid duplication of notes created offline.
Disable bar buttons during sync.
Increase stability when deleting notes.