ajust the framework
add repeat everyday and add the toggle init check