change the UI show of the main view