Fixed text in the label of gradient options
Fixed bug when only one time window is given