Add a cancel button to Schedule form

Added a cancel button to the scheduled form
Add stat to day

Now can compute stat by week, by day and show it in the ui