Correct dispenserapp code