COMMONS-305 : FutureCache exception when portal is reloaded

Fix description:
- Refactor SettingService class