Some code fixes (renderListingButton was undefined)