Pick workdept from combobox

Signed-off-by: Piotr Bocheński <bochenski.piotr@gmail.com>