Integrate displayPrompt into UI.java
Update UI.java