Change custom pane and add class id