UI logic structure completed.