Fix refresh button in settings