Adds callback function so that the user can click on a point in the time sequence...