logic for adding play icon