write settings view