Update UI.h

added #define
added data structure to each function