fixed a bug of AppChoiceDialog