Fixing bug (2 different id-settings in Alarm model)