Added index to the profile settings and the preference settings.