Android: Fixed bugs in Dropbox Sync prototype.

Related to issue #406.