disable refactor buttons;remove immediate refactor