Create SliderPreference.java

A preference with a slider