Adding play buttons functionality