I want to restart my Android app, but I want it to go to a specific activity after the app restart. 

I am currently using this code to re launch my app, but it starts back to the first activity. I need it to go to another specific activity.

I made a settings page in my application where users can choose their own app colors. After choosing a color, i need to restart all activities to apply the new theme that the user chose.

code I am using to restart app to first activity:

```
Intent startActivity = new Intent();
            startActivity.setClass(ProfileSettingsActivity.this,ProfileSettingsActivity.class);
            startActivity(startActivity);
            finish();

```