Added refresh button to refresh gallery