Fixes #9457

1. Fixes #9457 that click test TestChangePlaySection, then it will crash.  
2. Modify default value of selectedState to serialize check box data.