public void changed(ObservableValue<? extends Toggle> ov, Toggle toggle, Toggle new_toggle) {
                if (new_toggle != null) {
                    System.out.println(new_toggle.toString());
                    //selectedRange = DataRange.valueOf((String)new_toggle.getUserData());
                    lastPointerType = pointerType;
                    pointerType = (String) new_toggle.getUserData();
                } else {
                    lastPointerType = pointerType;
                    pointerType = "hide";
                }
                OnPointerChange();
            }