Fix pause and play