changed boolean value of radio button to 1 and 0 instead of yes and no