Changed SettingsPanel to retrieve and store settings from local
database.