Set title according to config settings