Dirty fix for two way synchronization

Supports delete of tasks/events from server. Not finalised
implementation.