init alert history state