fix switch to alarm popover