[PhotoActivity]Fixed a bug.

Now when the user rotates the phone the temporary photo is not eliminated.
I used a temporary file in which I put the Bitmap. The temporary file is
eliminated before exit from the Activity.