Fixed bugs related to creating one prototype after the other. Cleared the image store after prototype created