I want to retrieve variable details after the user selects a variable in the VariablesView and not before hand. How should I do that?