settingsFragment function added