Main activity layout and quit button