Interaction does not show an element after it was hidden

Hello,

I am using interactions to show and hide two elements. Once a link is clicked, the initial one is hidden, and the second one is shown. Once a back button link is clicked, the second one gets hidden (which it does), and the initial one should be shown, which it does not, and I can’t seem to find any reason for that. Moreover, in this state when I try to manually change display:none to display:block for the initial element in chrome inspector, it immediately changes back to none. So what am I doing wrong?

Thanks for your help!


Here is my public share link: [LINK]1
(how to access public share link)