Now able to switch between three tabs and show different UI