Lesson 4b patch for detail activity