The problem is the hashValue
is unstable and will change between executions of the app.
From hashValue documentation:
Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.
The best solution at the moment seems to be storing a notificationId in my model which imho does look a lot more cleaner than a hacky extension to extract the UUID from the id.