remember settings after closing settings dialog
simpler menu id constants