MainMenu: Save 'hide gamemods' and 'hide modpack contents' checkbox state (fixes #1960)