Update Array Access for iOS 5

Several arrays are accessed using subscript notation (`array[index]`) which is only available in iOS 6.  These have been replaced with `[array objectAtIndex:index]` calls which makes the calendar run correctly on iOS 5.