avoid crash on orientation changed when waiting for user answer.