Using onDestroy() is better