added the detail activity and notification