Fix notification crash