Before swapping out the PhotoPicker component