refresh button fix

did not work as expected. now it should work.