Added check for nil photo, reset image and text after submission and added blank values if a user doesn't submit anything.