fixed replacing existing images when application is edited