A. Check the app settings for any options that may control how links are opened. If there is an option to open links in-app instead of Safari, enable it to keep your workflow uninterrupted.
B. As a workaround, copy the link and paste it into Safari manually after you finish using the app. This way, you can control when you switch to Safari.