Save clear settings only when whole preferences are accepted