How can I make settings permanent?

When I modify the settings.json file in .config/mypaint

the settings get reset when I close and reopen the program.

Linux distro: ubuntu 22.04
MyPaint version 2.0.0+gitexport.af5225a