Fixed alarm bug. Alarm now sounds with alarm input