Tag Selected: logic for ipad