add checkNotification

function check for changes in Ram