transfer accordion-group setup into a function; setup is done when the page is loaded and when a new scheudle is created; added custome msg for delete/update/creation action