Added selection to flipTable