The button to come back from settings to mainview does not turn off the camera
Right now, when coming back from media page in setting to mainview, the camera is not turned off. Guess it's because there's no stopPreview called in the callback of that button.