add feature for switcher event and disabled status

fix issue #27