fix refresh button selected and display button