Made the saving of the last syncState more secure. This to prevent the offlinecache to become out of sync with the exchange server.

Signed-off-by: Michel <info@1st-setup.nl>