Added two new functions to AlarmInfoActivity