Hack to prevent the keyboard from showing whenever the user presses the increment or decrement buttons in the NumberPreference