making sure to reload the page when changing schedule