Use updateRadioButtons(session, selected = as.integer(input$rbtn_metrics)) when UI is updated
updateRadioButtons(session, selected = as.integer(input$rbtn_metrics))
We can give you better help if you turn this into a reproducible example