changes for the spinner in SpinnerJson.java