active states for buttons rectified after switching to radio buttons