Saving settings now works