Added functionality for alarmswitch, vibrate, and led