change select options when default date was set + fix some lint error