Changed window.open() with NativeApp functionality