Refactor with fragments: MainActivity - CameraFragment.