How to open apps of persistent notifications by touching them?

I'm making a notification panel jn my klwp screen setup, i hav both cancelling and persistent notifications, both hav same touch commands(kustom action -> open notification) , but only cancelling notifications open their respective apps, not the persistent ones, any help please

Thank you in advance