use a fragment for preferences