fixed playingImage, and imageFiles not being cleared