widget move fix

fix bug when widget are moved up or down, now "Path" label and bypass
state are not reset when widgets move