@Override
    protected void onCreate(Bundle savedInstanceState) {
        getDelegate().installViewFactory();
        getDelegate().onCreate(savedInstanceState);
        super.onCreate(savedInstanceState);
    }
A {@link android.preference.PreferenceActivity} which implements and proxies the necessary calls
to be used with AppCompat.
app/src/main/java/home/smart/fly/animations/AppCompatPreferenceActivity.java