refactoring / added DIPSwitch to change dialog