Better interface for saving settings