Got refresh button working