updated externalLink function o use inappbrowser