Changed DoubleBoxModel to cover all cases of using DoubleBox