All the ActivityTracker functionality is working except the onDestroy() is not saving the state