Added onDestroy method for cleaning up notifications if the app is closed.