#3 restore menu state after reopening