date format improvement, removed unused code
The options drop-down stays down while showing menu