1. Fixes #4957 that click test TestChangePlaySection, then it will crash.
2. Modify default value of selectedState to serialize check box data.
Merge pull request #9459 from pipu/fix_#9457

Fixes #9457