Refactor the Get view edit options