Implemented moving from edit to view