Create form for setting interval.