restore all resources when the activity came back