Refactor of Define Needs UI.