Fix action for Refresh button so it actually works