Changed the random function so that the same color doesn't come in a row.
Datepicker only shows future dates now.