Update UI.h

The behavior of the UI