[CDE-328]: fixed bug where only the first expand parameter was updated on click event

@pamval please review
why are we clearing parameters values here ?