fixed a bug when loading setting file

shows not selected when not selected in the setting file.
also, when running, the Run button becomes 'off'