add selected_stand variable, and methods in the api to set/unset it