Added events when displaying the pretty report