Bug 1003646 - Dismiss action menu when app is opened


Dismiss action menu when app is opened. And add test for it.

https://bugzilla.mozilla.org/show_bug.cgi?id=1003646