in targetsdk 35 the preference page doesn't behave correctly in modern UI (Edge-to-Edge support, styling)
We need to migrate from the deprecated android.preference.PreferenceActivity to androidx.PreferenceFragmentCompat
this also implies to migrate the file xml\preference.xml and change PreferenceScreen with it androidx.preference counterparts.