Added settings activity and preferences xml.