Update MasterPromoteListener.java

Replaced deprecated setTypeID.