Commiting after modifing bar chart