removed System.exit(0) in onDestroy