Fixed bugs related to play media activity.