Sync button does not reflect the state of sync-monitor
After pressing the sync button sync-monitor syncs the calendar but after it finishes the sync button still offers to cancel the sync job. Pressing it tries to cancel the job although it isn't running anymore crashing sync-monitor.