Fix bug #39: New local data is not uploaded to cloud during refreshing.