module BinData::CopyOnChangePlugin

def get_previous_choice(selection)

def get_previous_choice(selection)
  if selection != @last_selection and @last_selection != nil
    @choices[@last_selection]
  else
    nil
  end
end