Trying to fix problem of repeated notification requests