activity configuration modified, refactorings