booking button logic