make refresh button take effective