Bug 951284 - Do not dispatch appopen when app is not active