-(void)sliderChanged:(id)sender
{
[self.objectNumber setText:[NSString stringWithFormat:@"%.0f",self.objectNumberSlider.value]];
NSInteger count = self.objectNumberSlider.value;
[[NSUserDefaults standardUserDefaults] setInteger:count forKey:@"SceneObjectLimit"];
[[NSUserDefaults standardUserDefaults] synchronize];
}