fix #2032: check if notification group has already been removed from preferences

fix #2032: check if notification group has already been removed from preferences