The change on UI to handler different pages