synchronize data

Added synchronize to the saveEvents method on the MainViewController,
this allows the application to save any modifications to the
NSUserDefaults class.