Change refresh to use the same function as appRoot change