Added end of print serial commmand to ui