sample code:how to use custom radiobutton