added state of playing when restart