Application is having 2 activities. I am using following code in each activity to close the application totally and free all resources when home button is pressed. But when i restart the app, it starts from the activity it left earlier.
How to achieve the objective.

```
@Override
public void onStop(){
    super.onStop();
    super.onDestroy();
}

```