added settings activity with preferences