Implemnted functionality to update name in waypoint list when editing a waypoint