Title. It re-writes the entire file, usually breaking formatting in the process. And because even the slightest change to parameters.txt trips CHT detection, as far as people who aren't content creators are concerned the changes caused by this function messes with that as well.
Current options in the menu, restart and quit, have an in-game UI set up asking if you really want to do <the thing>. Can that be re-used?
Post suggestions regarding RVGL.
I'll try to implement it very soon