add option to keep departments assigned to clients in integration settings