Added deal button and revised matching mechanism upon flip