Make sure the activity is still active