completed saving settings to DB