Midi Remote activeDevice states persistent storage

Hi, it would be useful in some case to store our activeDevice states “somewhere”.
In my script I have some states that reflect controller’s settings. So, whenever user changes a setting, I would like this to be store for another session (independent of the current project).
I couldn’t find this in the API, so for now I’m using an external app to make such processes. (I’m aware of solutions based on node.js for example, but I don’t want to add overhead to the execution). Perhaps there is this option, but I just could’t find it.

Anyway, it would be nice to add it, for e.g. something like this: