Replaces GetStringSelection with GetValue