[47784513] candidate: move assign department/JD to two lines & another bugfix


   fix a bug where JD selection doesn't get remembered in editing