Added error handling in data save and added alert messages.

NOTE: in demo version, alerts for success and error saving events are
set at 50%.