delete unnecessary views and stylesheets; flatten UI of title bar and buttons