Those are 2 different things, StateManager handles some settings related to your app, like when you rotate the device, it saves the "state" of EditTexts for example so you don't lose their content, the PreferencesActivity creates a standard settings screen for your app.