Fix reset button for photo capture