Refactoring, iPad detection