Add possibility to save BM settings

This is also integrated into the GUI.