Configured basic preferences

Created preferences activity with changes listener.