camera app first version with preview regenerated