Add switchBuzzerStatus function