photoedit activity reformatted