Adding portchange event