Attempt to fix the spin box bug so the user can input an arbitrary
number of digits