enhance restore menu state