As this method is called on main thread, END_S state was sometimes missed, resulting in a missing update for the play buttons.