added settings sync to file