triggering onBoardOrPortChange when changing port