dropdown for phototype is dynamically set instead of being reset every time a project is being edited