change button play logic