Fix waiting until dropbox is synced