Refactoring mode view