Brown finally given Labour election role