fixed notif behaviour and pattern storage