Fixes the update location button.