Fixed saving to work for multiple divs