Update UI.c

added a sleep to allow for error viewing