finally saving settings in a true way