Bug 509: Mobile: Referral appointments page will loop if you end a referral or when timeout has occured