Merge pull request #13789 from crdlc/bug-933561

Bug 933561 - App does not come to foreground if user quickly toggles bet...(cherry picked from commit 4e2a68ccd5eb0af576855777b752b4053477575e)