Refactor pass edit view transition