Settings page and dices refactoring