Issue #009: Delays the page refresh when declining invitation by four seconds; obviously not a good solution, but this should work for the demo at least.