prevent duplication of alarms
the rule interfaces were rewritten every time a rule was opened for editing

this was of course raising an exception when two items' rules were open for editing, and the OK button was pressed in the previously-opened one