Content on dynamic page does not change according to button clicked

Hi,

I am having an issue with a dynamic page.
My application has five buttons on my home page (Restaurants, Bars, Shops, News, and This Week). When the user clicks on one of the buttons, they are redirected to a single page (“List”) that is supposed to display different content depending on the category selected.

However, the list and title never adapt to the selected button: regardless of the choice on the home page, the “List” page always displays the same thing.

Do you have any idea what might be causing this problem? I tried displaying the value of the variable when it is changed for the first time on the home page by clicking on a category, which works. But then I get the impression that the value is no longer saved when I change windows.

Thanks in advance!