it s possible that  profile  exists but dodisplaynotification has not been called so notification id is still in pending notifications we should just check if the notification is in pending notifications  and erase it return in that case 