refactor import view with radio buttons