methods onDestroy() replaced by finish()