[settings] switch to spin button if range is more than 2^16