Bug 1003330: Mobile identity UI. r=ferjm

Im gonna move this check to the top of the function. We will check if app exist, and if not, I'll call `cancel`. This code is in the manager, so I'll keep it here.