Fix segue-related crash when using iOS 7.

Revert to using custom segue objects. Fixes #373.