how the preview mode tool widget works a bit more clear

make checkOption just a inner function, it need not be a public method