Fix button and optionbox group memory leak.
Merge pull request #114 from ProG4mr/master

Fix button and optionbox group memory leak.