Added preferences activity and fill it in with data from the server.