Adding refresh button implementation