Added toast-in-progress sensing function