How to use apps installed by Flatpak by default in Ubuntu?

Hi!

I have Ubuntu 16.04.7 LTS. There is Firefox 88.0 installed by apt in my system. I have just installed Firefox 107.0 in Flatpak. It runs via command-line. Now I have two versions of FF.

I would like to use Firefox 107.0 installed by Flatpak by default: run it via Ubuntu start menu, associate with it html-files and so on. Also I want to import settings of my old Fifefox to FF 107.0 installed by Flatpak: cookies, bookmarks, passwords etc.

How can I do it?

I would like to use Firefox 107.0 installed by Flatpak by default

Also I want to import settings of my old Fifefox to FF 107.0 installed by Flatpak: cookies, bookmarks, passwords etc.