change OnThenOpenPref name.