Simplify saving by reusing setting names from array - also fixes saving of MISC setting.