Update AdvancedOptionsState.cpp