Properly set title in navigation bar