Commiting all unsaved data