Fix problems with published app demo