v1.28, using global variable to keep last choice.