Made capturing photos work.
Made back button for pin set view hidden when first setting a pin.