I have found a solution in this SO post.
The issue is that when you click on the “save” button of the camera, the activity call changes the orientation method and it will be destroyed and recreated. Try to set:
android:configChanges="orientation|screenSize"
in the android manifest (not only android:configChanges="orientation" as suggested in this other SO post; it not work for API level 13 or higher).
It prevented the destroy activity for me.