Refactor transfer action