get default date format from system
added exit button in drawer