Refactoring de settings