Prepare defaced settings, optimizations, refactoring, phone state listener remove