Function to intercept F5 and Ctrl+R

Updates schedule instead of refresh