I’ll leave this here for those who want to know how the app should behave when the Tasker script behaves properly: