Prior to separating into button figure and plot figure