implemented deleteMediaItem