Support iPad UI for editing location details.

Fixed bug that would cause the app to crash after editing location
details.