Refactoring
Cleaned up datepicker code by removing unused functionality.