Bug 921194 - Fix trustedUI asynchronous app state.