Added Preferences activity and xml file