Fixed problems after gcal api deprecation.