Added a plot selection controller