fixed null pointer issue for play/pause results