Fix for Refresh not working