Effect of the sample work function on alkali metal dosing induced electronic structure change