Deactivating last previewhen deleting image, proper button activation for usermedia