Refactor settings loading and saving