Implemented the soundSwitch