Add onclick event trigger for refresh button