Fixed bug in graphical user interface.