The student would have to cancel the booking within 14 days of signing the agreement in order to get the advance rent payment refunded. If the student cancels after that they won’t be eligible for the refund of advance rent. If the student cancels after the tenancy start date they would be responsible for bringing in a replacement student or else they would be liable for the entire rent.