Update UIClass.java

Modified the deletion method so that the user inputs an index instead of the full name of the object.
Also added A prompt to allow the user to go back to the main screen or exit the program.