Fixed crashes when selecting date in iPhone 5S