Setting up the user interface