Update SelectMagicTargetState.m