Automatically changing a value of drop down field.