Click on Canvas to renew functions