Storing Addon Settings Permanently

writing to an own config file can be problematic on windows if it’s a folder on the system drives that requires elevated rights - in that case, writing will fail unless the user runs blender as administrator. If you use the %appdata% path of blender, it should work though.