commit button changes for date picker