Started the gui for main activity