I implemented a Singleton to track option changes and make an over all settings save. This applies to all 4 (3) types of OptionItem.
The buttons will only be shown if there are any changes. The position is fixed at the bottom. Feel free to change it. The SettingsButtons will work everywhere you put them.
To have a cleaner code and because I am not completely sure what the overlays do, I made new components for the settings' input fields. My changes could be used or inspirational for the overlays later on.
I implemented a Singleton to track option changes and make an over all settings save. This applies to all 4 (3) types of OptionItem. The buttons will only be shown if there are any changes. The position is fixed at the bottom. Feel free to change it. The SettingsButtons will work everywhere you put them.
To have a cleaner code and because I am not completely sure what the overlays do, I made new components for the settings' input fields. My changes could be used or inspirational for the overlays later on.