Workaround for getting refresh button working again

Hi, this is just a workaround for getting the refresh button working again. I don't think it's the final solution, but maybe it is better than nothing. ;)