Fix lock screen notifications and register listener