Fixed a bug where I didn't set the branch of a saved event correctly.

Next up getting the calendars to behave