Trigger onchange only on value change