Improved interface for DropboxManager

Greatly improved the coupling between DropboxManager and the
MainActivity