moving the actions to the pref fragment