Fix NPE
Add option for ignore persistent notifcations