Agree with Akokskis, writing twice causing problem, but you can try reloading again the workbook after writing, then it will perfectly work. For example
FileOutputStream fileOut = new FileOutputStream("Workbook.xlsx");
wb.write(fileOut);
fileOut.close();
wb = new XSSFWorkbook(new FileInputStream("Workbook.xlsx"));