How to select and open bottom nav item from another activity that doesn't have a bottom navigation view?

As described in the question, the problem is that I can't access an item from my bottom nav view while the app is using another activity where this nav is not included.

I have the MainActivity with activity_mail.xml layout where I included the BottomNavigationView and another activity with no such navigation.

There, I have the following code:

public class ScoreActivity extends AppCompatActivity {
        private BottomNavigationView bottomNavigationView;
        private Button btn;
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_score);
        bottomNavigationView = findViewById(R.id.bottom_nav);
         btn.setOnClickListener(v -> {
            bottomNavigationView.setSelectedItemId(R.id.nav_leaderboard);
        });
    }
}
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum