Write settings (13/18)

Write settings