Added title bar height and centering title settings to sample app.