Set application title correctly.