Update applicationui.cpp