fix bug of alarm in location detail view
update alarm eventing