add loop by hours button and default selected