/// <summary>
		/// A form for token
		/// </summary>
		/// <returns>bool true if OK was pressed, false if cancel</returns>
		public bool ShowConfigDialog() {
			DialogResult result = new SettingsForm().ShowDialog();
			if (result == DialogResult.OK) {
				return true;
			}
			return false;
		}
        /// <summary>
        /// A form for token
        /// </summary>
        /// <returns>bool true if OK was pressed, false if cancel</returns>
        public bool ShowConfigDialog()
        {
            SettingsForm settingsForm;
            ILanguage lang = Language.GetInstance();

            BackgroundForm backgroundForm = BackgroundForm.ShowAndWait(DropboxPlugin.Attributes.Name, lang.GetString(LangKey.communication_wait));
            try {
                settingsForm = new SettingsForm(this);
            } finally {
                backgroundForm.CloseDialog();
            }
            settingsForm.AuthToken = this.DropboxAccessToken;
            settingsForm.UploadFormat = this.UploadFormat.ToString();
            settingsForm.AfterUploadOpenHistory = this.AfterUploadOpenHistory;
            settingsForm.AfterUploadLinkToClipBoard  = this.AfterUploadLinkToClipBoard;
            DialogResult result = settingsForm.ShowDialog();
            if (result == DialogResult.OK)
            {

                this.DropboxAccessToken = settingsForm.AuthToken;
                this.UploadFormat = (OutputFormat)Enum.Parse(typeof(OutputFormat), settingsForm.UploadFormat.ToLower());

                this.AfterUploadOpenHistory=settingsForm.AfterUploadOpenHistory;
                this.AfterUploadLinkToClipBoard=settingsForm.AfterUploadLinkToClipBoard;
                IniConfig.Save();

                // Save DropboxAccessToken from file
                DropboxUtils.SaveAccessToken();

                return true;
            }
            return false;
        }