Enables state restoration for notification detail screens.

Fixes #1398