Fixes pdf application switching in FF22/23 (redo)
Merge pull request #3036 from yurydelendik/appswitch

Fixes pdf application switching in FF22/23 (redo)