Fixed issue with background call of save() in sugar