fixed state switching by tap in DXSwitch
Merge pull request #7 from YuryGrinenko/master

fixed state switching by tap in DXSwitch