I have an item that is supposed to toggle a class on/off when the path changes, but for some reason it isn't working. I copied and pasted it from another project and it works there but for some reason it isn't working here.I have an item that is supposed to toggle a cla