Fix: Crash when setSelectedDate to nil - Also fix #9