Added preference activity and preference fragment