Improved sync visual feedback

The "working" indicator is now displayed when saving or deleting a document if a remote database is available.