added alarm for auto refresh and notifications