Revert "Use Mainsettings instead of Settings"
I was so stupid.
This reverts commit 03a2957c827deb6bd64073fdb64a2c151442244f.