https://kodejava.org/how-to-use-preferences-api-to-store-program-configurations/
How to use Preferences API to store program configurations?