moved logic for deleting unassociated pictures to the class RemoveExtraPics and took its execution out of the show function and into create when creation is successfull