Use Gio.AppInfo.launch_default_for_uri instead of calling xdg-open
As explained in this thread it is better to use the Gio functions than starting a subprocess. Also even if Flatpak provide xdg-open wrapper, it is better to have GLib manage the flatpak case directly.