iOS: Added Slider template for PreferenceCell. More bug fixes for preferences.