Fixed CustomButtonResult when using radio buttons together with custom buttons

Hi,

I've fixed that radio/custom buttons bug I've reported on CodeProject. Is the GitHub code usually newer than the one on CodeProject?

Yves