Saving dropbox key to preferences