Datepicker in search fields fixed: now the widget works correctly accordin date format and also responds correctly on clicks