Hello,
Everytime you save some settings in P3D and the application crashes in Flight, the Settings are not being saved.
I would suggest you to not use a cache, instead you write it directly to the .cfg after clicking on the Save button.
Scriptless