add back button on titlebar
add exit button