start of alarmdetailviewcontroller