fixed deprecation warning

`setWeek` is deprecated in iOS7