Removed console log
Fixed bug of duration drop down being empty on load