Add changes state when the record selection.