Fixed bug with addign photo on edit