@Override
        public boolean onOptionsItemSelected(MenuItem item) {
            int id = item.getItemId();
            if (id == android.R.id.home) {
                startActivity(new Intent(getActivity(), SettingsActivity.class));
                return true;
            }
            return super.onOptionsItemSelected(item);
        }
This fragment shows data and sync preferences only. It is used when the
activity is showing a two-pane settings UI.
app/src/main/java/home/smart/fly/animations/SettingsActivity.java