Small refactoring in dropboxclient