This avoids the same SNI menu being opened again after user long presses to open a SNI menu. (cherry picked from commit 63dd197e)