Remember settings of Clear History dialog, fixes #400