view 1 and 2 back/done buttons added. optimized view 1