added cleanup to main activ onDestroy