Refactor ImportPanel