Fix for pending notification, donnot show duplicated messages