refresh button working