Fixed to release a camera in onPause().