Not-ranged simple datepicker

Also fixed a bug connected with predefined ranges.