Fixed a crash bug.  Had a couple of lines swapped when creating the UI.