Update UI.c

Added comments