added titles and fixed back buttons