[TIMOB-14268]Functions always receive arguments as arrays.
[TIMOB-14062]Turns out calendar might return with a nil error even though we access was not granted.
timob-14324: fix preferences crashes on first launch
Merge pull request #4435 from srahim/timob-14286

[TIMOB-14286][TIMOB-14062]iOS: Fixing Calendar bugs.
[TIMOB-14488] Stop hammering the tableView with updateRow calls during a layout pass
timob-14487: Add duplicate check when adding dialogs to activity
Merge pull request #4441 from hieupham007/timob-14487

timob-14487: Add duplicate check when adding dialogs to activity
Merge pull request #4436 from hieupham007/timob-14324

timob-14324: fix preferences crashes on first launch
Merge pull request #4439 from vishalduggal/timob-14488

[TIMOB-14488] Stop hammering the tableView with updateRow calls during a layout pass.

[TIMOB-14488] Stop hammering the tableView with updateRow calls during a layout pass.

Tested and verified using the same steps as in the video from attached to the bug report "iPhone 20130626.mp4". The app is no longer sluggish and does not become unresponsive.