How about this?
We go back to the #time-views page, after we do sync calendar.
Go back to the initial state, then we could reuse the createCalDavAccount and createEvent easily.