Fixing error

Fixing syntax error on saving settings