For KMag frameworks branch to be able to merge to master we need to fix some remaining issues. This is one of them.
Mode is not saved.
Test: Set mode. Quit and start KMag again. Noticed the mode is not saved.
Bug is number 332303
- KMag mode is saved