I am creating an app in which I am trying to establish an "activeCat" while it has been selected from the dropdown menu. I am able to switch the state of "act