PWA application goes back to browser mode

Hello !
I use FinApp template for an application developed with Flask back-end. When I start it on PWA mode, as soon as I change the page the app goes back to browser mode.
Can you help me to stay in PWA mode ?
My full code is available on GitHub here
https://github.com/patrickpinard/MyGreenGarden
Thanks for your help