Add event propagation for radio buttons to set displayed attribute