Refactored  SummaryActivity