Added shareEvent and editEvent