Fixing IllegalStateException when opening Notification details from PN

Fix #1370

Note: I cannot repro the issue, but the fix should be pretty easy. More, I cannot understand how this issue could happen, since no async calls are involved in the code.