added preference activity with headers and preferences resources