added function to reload map on button click.