removed unnessary code and handling the message when collection is changed in the reports tab