Settings fragment refactoring