Fix offline waypoint editing crash

Also fixed typo in offline waypoint editing message.
Merge pull request #884 from DonLakeFlyer/OfflineWaypointCrash

Fix offline waypoint editing crash