Refactored AlarmDetailsActivity