Fixes notifications state restoration