correctly set play/pause state