I'm using `onDestroy()` to do something when my app is closed, but it doesn't work when I close my app from the menu (by tapping the soft key to the left of the home button on Samsung Galaxy for example). So I deduce that it doesn't call the `onDestroy()` method when I kill my app. How can I do something when I shut my application this way?