finalized gag selecting ui