refactor: move transfer page context out of the toast-importing module