Updated Show Schedule button to use on click instead of binding to click event as it was causing issues