refactor(datepicker): track buttons by date instead of $index