How to check for latest notifications