Added loading and saving settings