Added InstanceStateGson annotation to save state object using Gson
Deprecating EventsTask class
Added gson helper