Added code to correctly add a new style to the xml. Tested it by opening the created file in Excel and it works.