Fix notification permission handling

on latest master notification permission handling seems to be buggy so that users have to manually give the notification permission (probably in the system's app settings) cmp. https://gitlab.com/fdroid/fdroiddata/-/issues/3054#note_1509634078