finalized text ui