added productChanged event to setting text from outside