refactor bon voyage example

While reviewing the SmartApps developer guide, I was a bit confused by the Bon Voyage example. So, I decided to rework it a bit.