Fix fragments' behavior when switching between MediaPlayer and WebApp fragments