Move MainActivity's functions into CameraActivity