removed datepicker if custom interval isn't selected