I don't undestand you.
I repeat, the notification from the component is __always__ sent.
The sent (here: the received) notification data contains the `{ restart: true/false }` object stringified.

Why do we need register for notifications if we going to discard all of them?
What other action should done by NTT when a restart is needed? 
I think notifying the user about the restart is the only action here.

Of course I could move that `if` there, but I think that won't be the optimal fix in this case.