Update UserInterface.cpp