@kurund 

In case of radio button we are doing the type casting for label, I just tried to follow the same coding standard.

Regarding coding standards, can you please elaborate more or can you please give me one example where we have issue in coding standard.

I have tried to follow the coding style which is already followed in the current code.