Add constraints to the UI