Added code to Dropbox activity