Fixed logic when taking photo instead of choosing.