finalize button click event to change map center.