Refactorings & buttons mode