event flag save/load