Fixed crashing when backing to cameraactivity.