TimeRangeController now listens for setTime and endTime callbakcs