Implemented saving of updated settings