Sync with GCal stops working on the Mac app when a new account is linked.

Steps to reproduce:
1. On the web interface, click "Unlink Google Cal"
2. Then link a new account.
3. In the Mac app, try to Sync with GCal - a message appears, "Your account has not been linked with GCal yet."

I was unable to resolve the issue by restarting Doit.im, or by logging out and logging in again.