package refactoring; preference activity based on fragment