implemented feature to generate notification for all past notification.