Try to stop app switching to safari in webappmode