Menu close on state change