fix ZSS-622 Spreadsheet toolbar function not work correctly if creating the instance at runtime