Add support for saving UI settings to config file