machine settings are cleared

I’m not following. This is apparently how Atomstack devices work. This is intentional.

There is some discussion about writing a non-Atomstack firmware onto the board as to work around this issue but that would be something you need to consider at your own risk.