Fixed bugs for Add to Dropbox.