Set titles before render