add clean button, replace getDateStrings with getDatesValue