Syncing pausing and playing